<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<div class="handlerDiv">
<input type="button" value="新建" id="newObj" name="newObj" onclick="window.open('add.do');"/>
<input type="submit" value="删除" id="deleteObj" name="deleteObj" onclick="vertifyCheck('delete.do');"/>
</div>
<%@include file="/resource/jsp/list_top.jsp"%>
<c:if test="${page.totalCount>0}">
<table width="95%" onmouseover="overIt();" onmouseout="outIt();">
	<tr>
		<td class="listTitle"><input type="checkbox" id="List_Tongle" onclick="checkAll();"></td>
		<td class="listTitle">序号</td>
		<td class="listTitle">ID</td>
		<td class="listTitle">姓名</td>
		<td class="listTitle">密码</td>
		<td class="listTitle">电话</td>
		<td class="listTitle">手机</td>
		<td class="listTitle">email</td>
		<td class="listTitle">部门</td>
		<td class="listTitle">岗位</td>
		<td class="listTitle">编号</td>
		<td class="listTitle">性别</td>
	</tr>
	<c:forEach items="${page.objList}" var="item" varStatus="vars">
		<a href="view.do?id=${item.id}" target="_blank">
		<tr>
			<td><input type="checkbox" name="List_Selected" value="${item.id}"></td>
			<td>${vars.index + 1}</td>
			<td>${item.id}</td>
			<td>${item.name}</td>
			<td>${item.password}</td>
			<td>${item.callNumber}</td>
			<td>${item.phoneNumber}</td>
			<td>${item.email}</td>
			<td>${item.department.name}</td>
			<td>${item.post.name}</td>
			<td>${item.number}</td>
			<td><c:if test="${item.sex eq '0'}">
			男
			</c:if> <c:if test="${item.sex eq '1'}">
			女
			</c:if></td>
		</tr>
		</a>
	</c:forEach>
</table>
<key:p url="/XSP/org/person/list.do" page="${page}"></key:p>
</c:if>
<%@include file="/resource/jsp/list_down.jsp"%>
